//
//  LXHotUserCell.m
//  LXLessDemo
//
//  Created by LX on 16/2/11.
//  Copyright © 2016年 LX. All rights reserved.
//

#import "LXHotUserCell.h"
#import "LXTransverseSsrollView.h"
@implementation LXHotUserCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
-(void)settingHoteUserViewWithDatas:(NSArray *)datas{
    LXTransverseSsrollView *view = [[LXTransverseSsrollView alloc] initWithFrame:CGRectMake(0, 0, CGRectGetWidth([UIScreen mainScreen].bounds), CGRectGetHeight(self.bounds))];
    [view settingHotUserViewWithDatas:datas];
    view.selectBlock = ^(NSString *objId){
        self.selectBlock(objId);
    };
    [self.contentView addSubview:view];

}
@end
